From cbe35a11964b97ad6bf3a5ccea78c050890f739b Mon Sep 17 00:00:00 2001 From: Ewan Mellor Date: Tue, 14 Nov 2006 18:52:58 +0000 Subject: [PATCH] Fix xm block-configure, by allowing the device ID to be unspecified inside device_configure (in which case it will be specified by the incoming config). Signed-off-by: Ewan Mellor --- tools/python/xen/xend/XendDomainInfo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/python/xen/xend/XendDomainInfo.py b/tools/python/xen/xend/XendDomainInfo.py index 6bfa401bb7..80d18f06cf 100644 --- a/tools/python/xen/xend/XendDomainInfo.py +++ b/tools/python/xen/xend/XendDomainInfo.py @@ -520,7 +520,7 @@ class XendDomainInfo: self._waitForDevice(dev_type, devid) return self.getDeviceController(dev_type).sxpr(devid) - def device_configure(self, dev_config, devid): + def device_configure(self, dev_config, devid = None): """Configure an existing device. @param dev_config: device configuration -- 2.30.2